SaveCreditCardCallback

public interface SaveCreditCardCallback implements BrowserAsyncCallback<P, R>

A callback that is invoked when the user is prompted to save a credit card to the credit card store.

The callback is invoked when the user submits a form with credit card information (a cardholder name, number, expiration date, CVV/CVC).

This callback is equivalent to the "Save Card?" bubble in Chromium.

Use the save method to save the credit card to the credit card store. All saved credit cards are shown in the suggestion pop-up when focusing the web form control.

Use the decline method to decline to save the credit card. If the current credit card is declined then the callback will be invoked again when submitting a web form with the same credit card.

The callback is not invoked if autofill is disabled.

Inheritors

Types

Link copied to clipboard
public final class Action extends AsyncCallbackAction<R>
An action providing a response to the SaveCreditCardCallback.
Link copied to clipboard
public interface Params
The parameters of the SaveCreditCardCallback.

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.